package com.zhouyu.listener;

import org.springframework.context.ApplicationEvent;
import org.springframework.context.event.EventListener;
import org.springframework.stereotype.Component;

@Component
public class AnnotationEvenListener {
	@EventListener
	public void listener(ApplicationEvent event){
		System.out.println(event);
	}
}
